package com.neusoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.po.Sale;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SaleMapper extends BaseMapper<Sale> {

    List<Sale> list(@Param("description") String description);

    Integer setNullBySale(@Param("sale_id") Integer sale_id);

}
